<script type="text/javascript" src="/assets/base/laundrynew/modules/sea.js"></script>
<script>
    (function () {
        var cn = document.getElementById('confnode');
        var dt = new Date();
        var version = dt.getFullYear() + '.'+ (dt.getMonth() + 1) + '.'+ dt.getDate();
        // seajs的配置
        seajs.config({
            alias: {
                '$': '/assets/base/laundrynew/modules/jquery-2.1.0.min',
                'layer': '/assets/base/laundrynew/static/publicjs/layer',
                'swiper': '/assets/base/laundrynew/static/publicjs/swiper.min',
                'fclick': '/assets/base/laundrynew/static/publicjs/fastclick.min'
            },
            paths: {
                'publicjs': '/assets/base/laundrynew/static/publicjs',
                'wapjs': '/assets/base/laundrynew/static/wapjs'
            },
            map: [//自动给js后面加上版本号  线上更新时修改版本号,清除之前的js缓存
                ['.js', '.js?v=' + version]
            ],
            debug: true //调试模式开关
        });
    })()
    seajs.use("publicjs/public");
</script>